package fr.umlv.m2.jee.pmlv.service.subject;

import java.io.Serializable;

import fr.umlv.m2.jee.pmlv.persistence.planning.RecordDate;
import fr.umlv.m2.jee.pmlv.persistence.subject.AbstractTheme;
import fr.umlv.m2.jee.pmlv.persistence.subject.Subject;

/**
 *
 * @author Stephanie
 */
public class DisplayAbstractTheme implements Serializable {

    private AbstractTheme theme;

    public DisplayAbstractTheme(AbstractTheme theme) {
        this.theme = theme;
    }


    public void setName(String name) {
            theme.setName(name);
    }

    public String getName() {
            return theme.getName();
    }

    public void setPdfFilename(String pdfFilename) {
            theme.setPdfFilename(pdfFilename);
    }

    public String getPdfFileName() {
            return theme.getPdfFileName();
    }

    public void setHtmlFilename(String htmlFilename) {
            theme.setHtmlFilename(htmlFilename);
    }

    public String getHtmlFileName() {
            return theme.getHtmlFileName();
    }

    public void setYear(int year) {
            theme.setYear(year);
    }

    public int getYear() {
            return theme.getYear();
    }

    public void setSubject(Subject subject) {
            theme.setSubject(subject);
    }

    public Subject getSubject() {
            return theme.getSubject();
    }

    public void setRecordDate(RecordDate recordDate) {
            theme.setRecordDate(recordDate);
    }

    public RecordDate getRecordDate() {
            return theme.getRecordDate();
    }

    public void setPublished(int published) {
        theme.setPublished(published);
    }

    public int getPublished() {
        return theme.getPublished();
    }

    public AbstractTheme getAbstractTheme() {
        return theme;
    }

    public long getId() {
        return theme.getId();
    }
}
